package com.zhihu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihu.Dto.ApplicationDto;
import com.zhihu.Dto.ElderDto;
import com.zhihu.Dto.PageDTO;
import com.zhihu.po.Application;
import com.zhihu.po.Elder;
import com.zhihu.query.ElderQuery;
import com.zhihu.vo.ApplicationVo;
import com.zhihu.vo.ElderVo;
import com.zhihu.vo.HealthVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author BangLin
 * @Date 2025/4/14 19:02
 */
public interface ElderService extends IService<Elder> {
    void create(ElderDto elderDto, String deanId, MultipartFile photo);

    PageDTO<ElderVo> pageDtoResult(ElderQuery elderQuery);

    void pass(Long elderId);

    void caretaker(String elderId, String caretakerId);

    List<ElderVo> elders();
    List<ElderVo> getByChildrenId();

    List<ElderVo> getElder(List<Long> ElderId);

    List<ElderVo> getByElder();

    List<ElderVo> getAllElder();
    Integer isApplication(String deanId, String childrenId);
}
